
CFLAGS = -g -Wall -Wextra $(OFLAGS) $(XFLAGS)
OFLAGS = -DDEBUG
PACKCC=./packcc


all : pascal

# option --debug to packcc

pascal:
	$(PACKCC) --debug  pascal.peg
	$(CC) $(CFLAGS) pascal.c -o pascal

clean :
	rm -f *~ *.o
	rm -v -f pascal
	rm -v -f pascal.c
	rm -v -f pascal.h


